package com.fishery.authority.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 711
 * @since 2021-01-13
 */
@TableName("t_authority_user")
@ApiModel(value="User对象", description="")
public class UserRoleVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "角色名")
    private String roleName;

    @ApiModelProperty(value = "角色id")
    private String roleId;

    @ApiModelProperty(value = "是否为管理员")
    private Integer isAdmin;

    @ApiModelProperty(value = "用户名是否可被修改状态，1是 0否")
    private Boolean usernameStatus;

    @ApiModelProperty(value = "登录密码")
    private String password;

    @ApiModelProperty(value = "养殖基地Id")
    private String baseId;

    @ApiModelProperty(value = "手机")
    private String phone;

    @ApiModelProperty(value = "主题")
    private String theme;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "养殖基地的身份")
    private Integer baseIdentity;

    public UserRoleVo(String id, String username, String roleName, String roleId, Integer isAdmin, Boolean usernameStatus, String password, String baseId, String phone, String theme, String email, String avatar, Integer baseIdentity) {
        this.id = id;
        this.username = username;
        this.roleName = roleName;
        this.roleId = roleId;
        this.isAdmin = isAdmin;
        this.usernameStatus = usernameStatus;
        this.password = password;
        this.baseId = baseId;
        this.phone = phone;
        this.theme = theme;
        this.email = email;
        this.avatar = avatar;
        this.baseIdentity = baseIdentity;
    }

    public UserRoleVo() {
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public Integer getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(Integer isAdmin) {
        this.isAdmin = isAdmin;
    }

    public Boolean getUsernameStatus() {
        return usernameStatus;
    }

    public void setUsernameStatus(Boolean usernameStatus) {
        this.usernameStatus = usernameStatus;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getBaseId() {
        return baseId;
    }

    public void setBaseId(String baseId) {
        this.baseId = baseId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getBaseIdentity() {
        return baseIdentity;
    }

    public void setBaseIdentity(Integer baseIdentity) {
        this.baseIdentity = baseIdentity;
    }
}
